/**
 * FjyjPage 页面样式文件
 * 文件功能：定义FjyjPage组件的样式，包括背景图片、文字效果、响应式设计等
 * 作者：Assistant
 * 日期：2024
 */
  
  /* FjyjPage 页面内容容器 */
  .fjyj-page-content {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    cursor: pointer;
  }
  
  /* 文字内容区域 */
  .fjyj-text-area {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    height: 8%;
    max-width: 600px;
    z-index: 2;
    text-align: center;
  }
  
  /* 文字内容容器 */
  .fjyj-text-content {
    border-radius: 60px;
    padding: 30px 20px;
    /* border: 1px solid rgba(255, 255, 255, 0.2); */
  }
  
  /* 文字行样式 */
  .fjyj-text-line {
    margin-bottom: 15px;
    min-height: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  
  .fjyj-text-line:last-child {
    margin-bottom: 0;
  }

  /* 空的物品项样式 */
  .icon-item-empty {
    width: 65px;
    height: 65px;
    visibility: hidden;
  }
  
  .xzbjt-btn-content{
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-align: left;
    width: 88%;
    margin-top: 10px;
  }
  
  .dbxl-img{
    width: 200px;
    height: 60px;
    position: relative;
    top: 20px;
  }
  
  .xzbjt-text{
    font-size: 14px;
    color: #c84418;
  }
  
  /* 图标按钮容器 */
  .icon-btn-container {
    text-align: left;
    position: relative;
    width: 90px;
    height: 30px;
    background-repeat: no-repeat;
    text-align: center;
    line-height: 30px;
    color: #9d0929;
    font-weight: bold;
    background-image: url('../../assets/icon/xzxl.png');
    background-size: 100% 100%;
    background-repeat: no-repeat;
    font-size: 15px;
  }
  
  /* 文字样式 */
  .fjyj-text {
    font-size: clamp(18px, 4vw, 24px);
    color: #ffffff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
    line-height: 1.6;
    letter-spacing: 1px;
    font-weight: 500;
  }
  
  
  .xzbjt-count{
    font-size: 12px;
    color: #ffffff;
    background: linear-gradient(to bottom, #fd8a38, #ec4727);
    border-radius: 10px;
    padding: 2px 15px;
  }
  
  .dbxlImage-img{
    width: 200px;
    height: 60px;
    line-height: 55px;
    position: relative;
    top: 6%;
    background-size: 100% 100%;
    background-repeat: no-repeat;
  
    background-image: url('../../assets/icon/dbxl.png');
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-weight: bold;
    font-size: 26px;
  }
  
  .dbxlImage-img-tk{
    width: 200px;
    height: 60px;
    line-height: 60px;
    position: absolute;
    bottom: 21%;
    background-size: 100% 100%;
    background-repeat: no-repeat;
    line-height: 50px;
    text-align: center;
    color: #ffffff;
    font-weight: bold;
    font-size: 26px;
    background-image: url('../../assets/icon/dbxl.png');
  }
  
  /* 打字机光标效果 */
  .fjyj-cursor {
    animation: blink 1s infinite;
    color: #ffffff;
    font-weight: bold;
  }
  
  @keyframes blink {
    0%, 50% {
      opacity: 1;
    }
    51%, 100% {
      opacity: 0;
    }
  }
  
  
  
  /* 响应式设计 - 大屏设备 */
  @media (min-width: 1200px) {
    .fjyj-text-content {
      padding: 40px 30px;
    }
  
    .fjyj-text {
      font-size: 28px;
    }
  
    .dbxlImage-img-tk{
        bottom: 41%;
    }
  }

  /* 响应式设计 - 820px宽度 */
  @media (max-width: 820px) and (min-width: 769px) {
    .dbxlImage-img-tk{
        bottom: 28%;
    }
  }

  /* 响应式设计 - 中等屏幕 */
  @media (max-width: 768px) and (min-width: 481px) {
    .fjyj-text-area {
      width: 95%;
      top: 45%;
    }
  
    .fjyj-text-content {
      padding: 25px 15px;
      border-radius: 15px;
    }
  
    .fjyj-text {
      font-size: clamp(16px, 3.5vw, 20px);
    }
  
    .dbxlImage-img-tk{
        bottom: 41%;
    }
  }
  
  /* 响应式设计 - 小屏手机 */
  @media (max-width: 480px) {
    .fjyj-text-area {
      width: 98%;
      top: 40%;
    }
    
    .fjyj-text-content {
      padding: 20px 12px;
      border-radius: 12px;
    }
    
    .fjyj-text {
      font-size: clamp(14px, 3vw, 18px);
      letter-spacing: 0.5px;
    }
    .tab-container{
        padding-left: 10px;
        padding-right: 10px;
    }
    
    .fjyj-text-line {
      margin-bottom: 12px;
      min-height: 25px;
    }
    
    .dbxlImage-img-tk{
        bottom: 19%;
    }
    }

  
  /* 弹框触发按钮样式 */
  .modal-trigger-btn {
    position: absolute;
    bottom: 20px;
    right: 20px;
    padding: 10px 20px;
    background-color: #f66d31;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
    font-weight: bold;
    transition: background-color 0.3s ease;
    z-index: 10;
  }
  
  .modal-trigger-btn:hover {
    background-color: #e55a28;
  }
  
  /* 弹框遮罩层样式 */
  .modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
  }
  
  .icon-grid-select{
    margin-top: 20px;
  }
  
  .icon-grid-select .icon-text{
    position: relative;
    top: 40px;
    text-shadow: none;
  }
  
  /* 弹框内容样式 */
  .modal-content {
    position: relative;
    background-size: 100% 100%;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }
  
  /* 心愿卡弹框专用样式 - 基础样式（适配414x896） */
  .modal-content.wish-card-modal {
    background-image: url('../../assets/icon/tk-cw.png');
    width: 85%;
    height: 450px;
  }
  
  /* 心愿卡弹框响应式适配 */
  /* 大屏设备 ≥1200px */
  @media (min-width: 1200px) {
    .modal-content.wish-card-modal {
      width: 70%;
      height: 520px;
      max-width: 500px;
    }
  }
  
  /* 平板设备 769px-1199px */
  @media (min-width: 769px) and (max-width: 1199px) {
    .modal-content.wish-card-modal {
      width: 75%;
      height: 480px;
      max-width: 450px;
    }
  }
  
  /* 中等屏幕 ≤768px */
  @media (max-width: 768px) {
    .modal-content.wish-card-modal {
      width: 55%;
      height: 490px;
    }
  }
  
  /* 小屏手机 ≤480px */
  @media (max-width: 480px) {
    .modal-content.wish-card-modal {
      width: 90%;
      height: 475px;
    }
  }
  
  /* 小屏设备 ≤360px */
  @media (max-width: 360px) {
    .modal-content.wish-card-modal {
      width: 92%;
      height: 350px;
    }
  }
  
  /* 极小屏 ≤320px */
  @media (max-width: 320px) {
    .modal-content.wish-card-modal {
      width: 94%;
      height: 320px;
    }
  }
  
  /* 弹框关闭按钮样式 */
  .modal-close-btn {
    position: absolute;
    top: 340px;
    right: 180px;
    width: 50px;
    height: 50px;
    z-index: 999;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    font-size: 16px;
    font-weight: bold;
    color: #333;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: none;
  }
  
  /* 弹框主体内容样式 */
  .modal-body {
    width: 90%;
    padding: 20px;
    text-align: center;
    color: white;
    font-weight: bold;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7);
    font-size: 14px;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  
  .xymbje-text{
    text-shadow: none;
    color: #000;
    margin-top: 10px;
    font-size: 20px;
  }
  
  .szjx-text{
    width: 100px;
    border: #e55a28 1px solid;
    color: #ec6630;
    padding: 3px 1px;
    border-radius: 50px;
    text-shadow: none;
    margin-top: 10px;
  }
  
  /* 响应式设计 - 超小屏 */
  @media (max-width: 375px) {
    .fjyj-text-content {
      padding: 18px 10px;
    }
    
    .fjyj-text {
      font-size: clamp(13px, 2.8vw, 16px);
    }
    
  
  }
  
  /* 横屏适配 */
  @media (orientation: landscape) and (max-height: 600px) {
    .fjyj-text-area {
      top: 45%;
    }
    
    .fjyj-text-content {
      padding: 15px 20px;
    }
    
    .fjyj-text {
      font-size: clamp(14px, 2.5vw, 18px);
    }
    
    .fjyj-text-line {
      margin-bottom: 8px;
      min-height: 20px;
    }
    
  
  }
  
  /* 高分辨率屏幕优化 */
  @media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .fjyj-text {
      text-rendering: optimizeLegibility;
      -webkit-font-smoothing: antialiased;
      -moz-osx-font-smoothing: grayscale;
    }
  }
  
  /* 深色模式适配 */
  @media (prefers-color-scheme: dark) {
    .fjyj-text-content {
      background: rgba(0, 0, 0, 0.5);
      border: 1px solid rgba(255, 255, 255, 0.3);
    }
  }
  
  /* 减少动画效果（用户偏好） */
  @media (prefers-reduced-motion: reduce) {
    .fjyj-cursor {
      animation: none;
    }
    
  
  }
  
  /* 触摸设备优化 */
  @media (hover: none) and (pointer: coarse) {
    .fjyj-page-content {
      cursor: default;
    }
  }
  
  /* 折叠屏设备适配 */
  /* 折叠屏展开状态 - 宽屏模式 (如三星Galaxy Z Fold展开后) */
  @media (min-width: 600px) and (max-width: 900px) and (min-height: 700px) {
    .xzbjt-container {
      width: 80%;
      height: 420px;
      padding: 20px;
      max-width: 600px;
    }
  
    .icon-grid {
      gap: 20px;
      padding: 15px;
    }
  
    .icon-grid-row {
      gap: 12px;
      max-width: 500px;
    }
  
    .icon-item {
      width: 90px;
      height: 90px;
    }
  
    .icon-img {
      width: 60px;
      height: 60px;
    }
  
    .icon-text {
      font-size: 14px;
      max-width: 70px;
      top: 22px;
    }
  
    .selection-circle {
      width: 26px;
      height: 26px;
      bottom: -10px;
      left: -10px;
    }
  
    .checkmark-icon {
      width: 18px;
      height: 18px;
    }
  
    .dbxlImage-img {
      width: 220px;
      height: 65px;
      line-height: 65px;
      font-size: 28px;
      display: flex;
      align-items: center;
      justify-content: center;
    }
  }
  
  /* 折叠屏合拢状态 - 窄屏模式 (如三星Galaxy Z Fold合拢后) */
  @media (min-width: 250px) and (max-width: 380px) and (min-height: 800px) {
    .xzbjt-container {
      width: 95%;
      height: 350px;
      padding: 10px;
    }
  
    .icon-grid {
      gap: 10px;
      padding: 8px;
    }
  
    .icon-grid-row {
      gap: 5px;
      max-width: 300px;
    }
  
    .icon-item {
      width: 55px;
      height: 55px;
      border-radius: 12px;
    }
  
    .icon-img {
      width: 35px;
      height: 35px;
    }
  
    .icon-text {
      font-size: 8px;
      max-width: 45px;
      top: 16px;
    }
  
    .selection-circle {
      width: 16px;
      height: 16px;
      bottom: -4px;
      left: -4px;
    }
  
    .checkmark-icon {
      width: 10px;
      height: 10px;
    }
  
    .dbxlImage-img {
      width: 160px;
      height: 48px;
      line-height: 48px;
      font-size: 20px;
      display: flex;
      align-items: center;
      justify-content: center;
    }
  }
  
  /* 华为Mate X系列折叠屏适配 */
  @media (min-width: 400px) and (max-width: 500px) and (min-height: 800px) {
    .xzbjt-container {
      width: 90%;
      height: 380px;
      padding: 12px;
    }
  
    .icon-grid {
      gap: 12px;
      padding: 10px;
    }
  
    .icon-grid-row {
      gap: 6px;
      max-width: 380px;
    }
  
    .icon-item {
      width: 70px;
      height: 70px;
    }
  
    .icon-img {
      width: 45px;
      height: 45px;
    }
  
    .icon-text {
      font-size: 11px;
      max-width: 60px;
      top: 20px;
    }
  
    .selection-circle {
      width: 20px;
      height: 20px;
      bottom: -6px;
      left: -6px;
    }
  
    .checkmark-icon {
      width: 13px;
      height: 13px;
    }
  
    .dbxlImage-img {
      width: 180px;
      height: 55px;
      line-height: 55px;
      font-size: 22px;
      display: flex;
      align-items: center;
      justify-content: center;
    }
  }
  
  /* Surface Duo双屏模式适配 */
  @media (min-width: 500px) and (max-width: 600px) and (min-height: 700px) {
    .xzbjt-container {
      width: 85%;
      height: 400px;
      padding: 15px;
    }
  
    .icon-grid {
      gap: 15px;
      padding: 12px;
    }
  
    .icon-grid-row {
      gap: 8px;
      max-width: 450px;
    }
  
    .icon-item {
      width: 80px;
      height: 80px;
    }
  
    .icon-img {
      width: 52px;
      height: 52px;
    }
  
    .icon-text {
      font-size: 12px;
      max-width: 65px;
      top: 20px;
    }
  
    .selection-circle {
      width: 22px;
      height: 22px;
      bottom: -8px;
      left: -8px;
    }
  
    .checkmark-icon {
      width: 15px;
      height: 15px;
    }
  
    .dbxlImage-img {
      width: 200px;
      height: 58px;
      line-height: 58px;
      font-size: 24px;
      display: flex;
      align-items: center;
      justify-content: center;
    }
  }
  
  /* FjyjPage 主页面容器样式 */
  .fjyj-page {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    width: 100%;
    height: 100vh;
    position: relative;
  }
  
  /* xzbjt 背景图片容器样式 - 宽度90%居中显示 */
  .xzbjt-container {
    position: absolute;
    bottom: 5%;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    z-index: 3;
    background-size: 100% 100%;
    background-position: center center;
    background-repeat: no-repeat;
    height: 380px;
    opacity: 0.9;
    display: flex;
        flex-direction: column;
        justify-items: center;
        align-items: center;
  }
  
  /* 图标网格容器样式 */
  .icon-grid {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: center;
    padding: 12px;
    box-sizing: border-box;
  }
  
  /* 图标网格行样式 */
  .icon-grid-row {
    display: flex;
    justify-content: center;
    width: 100%;
    max-width: 400px;
    gap: 8px;
    flex-wrap: nowrap;
  }
  
  /* 单个图标样式 */
  .icon-item {
    width: 80px;
    height: 80px;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 16px;
    opacity: 0.9;
    position: relative;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    flex-shrink: 0;
    cursor: pointer;
    transition: all 0.3s ease;
  }
  
  /* 移除图标选中状态样式 */
  
  /* 圆形选择框样式 */
  .selection-circle {
    position: absolute;
    bottom: -12px;
    left: -8px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: 2px solid #ff903a;
    background-color: #f9e0c5;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10;
  }
  
  /* 选中状态的圆形选择框 */
  .selection-circle.selected {
    background-color: #dc5226;
    border-color: #ff903a;
  }
  
  /* 勾选图标样式 */
  .checkmark {
    color: #fff;
    font-size: 14px;
    font-weight: bold;
    line-height: 1;
  }
  
  /* 勾选图片图标样式 */
  .checkmark-icon {
    width: 16px;
    height: 16px;
    object-fit: contain;
  }
  
  /* 选择顺序数字样式 */
  .selection-number {
    color: #000;
    font-size: 12px;
    font-weight: bold;
    line-height: 1;
  }
  
  /* 图标图片样式 */
  .icon-img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 56px;
    height: 56px;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 1;
  }
  
  /* 图标文字样式 */
  .icon-text {
    font-size: 12px;
    color: #000;
    font-weight: bold;
    text-align: center;
    padding: 2px 6px;
    border-radius: 4px;
    margin-bottom: 6px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 66px;
    position: relative;
    top: 20px;
    z-index: 2;
  }
  
  /* 响应式设计 - 中等屏幕图标优化 */
  @media (max-width: 768px) {
    .xzbjt-container {
      width: 95%;
      height: 320px;
      padding: 12px;
    }
  
    .icon-grid {
      gap: 12px;
      padding: 8px;
    }
  
    .icon-grid-row {
      gap: 6px;
      max-width: 350px;
    }
  
    .icon-item {
      width: 68px;
      height: 68px;
      border-radius: 14px;
    }
  
    .icon-text {
      font-size: 10px;
      max-width: 54px;
      top: 20px;
    }
  
    .icon-img {
      width: 44px;
      height: 44px;
    }
  
    .selection-circle {
      width: 20px;
      height: 20px;
      bottom: -6px;
      left: -6px;
    }
  
    .selection-number {
      font-size: 10px;
    }
  
    .checkmark {
      font-size: 12px;
    }
  
    .checkmark-icon {
      width: 14px;
      height: 14px;
    }
  
    .dbxlImage-img {
      width: 180px;
      height: 55px;
      line-height: 55px;
      font-size: 22px;
    }
  }
  
  /* 响应式设计 - 小屏手机图标优化 */
  @media (max-width: 480px) {
    .xzbjt-container {
      height: 300px;
      padding: 10px;
    }
  
    .icon-grid {
      gap: 10px;
      padding: 6px;
    }
  
    .icon-grid-row {
      gap: 4px;
      max-width: 320px;
    }
  
    .icon-item {
      width: 62px;
      height: 62px;
      border-radius: 12px;
    }
  
    .icon-text {
      font-size: 9px;
      max-width: 48px;
      padding: 1px 2px;
      top: 18px;
    }
  
    .icon-img {
      width: 45px;
      height: 45px;
    }
  
    .selection-circle {
      width: 18px;
      height: 18px;
      bottom: 2px;
      left: -1px;
    }
  
    .selection-number {
      font-size: 9px;
    }
  
    .checkmark {
      font-size: 10px;
    }
  
    .checkmark-icon {
      width: 12px;
      height: 12px;
    }
  
    .dbxlImage-img {
      width: 160px;
      height: 48px;
      line-height: 48px;
      font-size: 20px;
    }
  }
  
  /* tab选择框容器样式 */
  .tab-container {
    display: flex;
    justify-content: space-between;
    gap: 8px;
    margin-top: 15px;
    width: 100%;
    max-width: 300px;
    text-shadow: none;
  }
  
  /* tab选择项默认样式 */
  .tab-item {
    flex: 1;
    padding: 8px 12px;
    text-align: center;
    border: 1px solid #9c9c9c;
    background-color: #f6f6f6;
    color: #2c2c2c;
    border-radius: 6px;
    cursor: pointer;
    font-size: 12px;
    font-weight: 500;
    transition: all 0.3s ease;
    white-space: nowrap;
  }
  
  /* tab选择项选中状态样式 */
  .tab-item.selected {
    background-color: #f8edeb;
    border-color: #dc4c4a;
    color: #d00004;
    font-weight: 600;
  }
  
  /* tab选择项悬停效果 */
  .tab-item:hover {
    opacity: 0.8;
  }
  
  /* 响应式设计 - 360px 宽度设备优化 */
  @media (max-width: 360px) {
    .xzbjt-container {
      width: 95%;
      height: 300px;
      padding: 8px;
    }
  
    .icon-grid {
      gap: 8px;
      padding: 6px;
    }
  
    .icon-grid-row {
      justify-content: center;
      gap: 6px;
      max-width: 340px;
    }
  
    .icon-item {
      width: 60px;
      height: 60px;
      border-radius: 12px;
    }
  
    .icon-text {
      font-size: 9px;
      max-width: 50px;
      padding: 1px 2px;
      top: 18px;
    }
  
    .icon-img {
      width: 36px;
      height: 36px;
    }
  
    .selection-circle {
      width: 18px;
      height: 18px;
      bottom: -6px;
      left: -6px;
    }
  
    .selection-number {
      font-size: 9px;
    }
  
    .checkmark {
      font-size: 9px;
    }
  
    .checkmark-icon {
      width: 11px;
      height: 11px;
    }
  
    .dbxlImage-img {
      width: 140px;
      height: 42px;
      line-height: 42px;
      font-size: 18px;
    }
  }
  
  /* cc2026图片样式 - 基础样式 */
  .cc2026-img {
    width: 80%;
    height: 176px;
    position: absolute;
    top: 160px;
    right: 50px;
    object-fit: contain;
  }

  /* 响应式设计 - 414px宽度设备优化 */
  @media (max-width: 414px) {
    .cc2026-img {
      width: 75%;
      height: 150px;
      top: 140px;
      right: 50px;
    }
  }

  /* 响应式设计 - 极小屏优化 */
  @media (max-width: 320px) {
    .xzbjt-container {
      height: 260px;
      padding: 6px;
    }
  
    .icon-grid {
      gap: 6px;
      padding: 3px;
    }
  
    .icon-grid-row {
      gap: 2px;
      max-width: 220px;
    }
  
    .icon-item {
      width: 50px;
      height: 50px;
      border-radius: 8px;
    }
  
    .icon-text {
      font-size: 7px;
      max-width: 36px;
      padding: 1px;
      top: 14px;
    }
  
    .icon-img {
      width: 24px;
      height: 24px;
    }
  
    .selection-circle {
      width: 14px;
      height: 14px;
      bottom: -3px;
      left: -3px;
    }
  
    .selection-number {
      font-size: 7px;
    }
  
    .dbxlImage-img {
      width: 120px;
      height: 36px;
      line-height: 36px;
      font-size: 16px;
    }

    /* cc2026图片在极小屏下的优化 */
    .cc2026-img {
      width: 70%;
      height: 120px;
      top: 120px;
      right: 15px;
    }
  }